# -*- coding:UTF-8 -*-
"""
@Project : pythonProject
@File    : Python-J04.py
@IDE     : PyCharm
@Author  : WorldWind(1772830365@qq.com)
@Address : China - HeiLongjiang - Herbin
@Date    : 2025/7/7 下午9:54
"""
# a.输入一个句子，统计每个单词的长度并输出字典
myStr = input("Please input a string: ").split(" ")
myDict = {}
for str in myStr:
    myDict[str] = len(str)
print(myDict)